<form id="add-form" class="form-horizontal" role="form" data-toggle="validator"  method="POST">
    <div class="form-group">
        <label for="company_id" class="control-label col-xs-12 col-sm-3"  >选择要导出的公司<span class="text-danger">&nbsp;*</span>:</label>
        <div class="col-xs-12 col-sm-7">
            <input id="company_id" data-rule="required" data-source="company/index" class="form-control selectpage" name="company_id" type="text" value="{$company_id}">
        </div>
    </div>
    <div class="form-group">
        <label for="createtime" class="control-label col-xs-12 col-xs-3">请选择要导出的年月<span class="text-danger">&nbsp;*</span></label>
        <div class="col-xs-12 col-xs-7">
            <input type="text" class="form-control datetimepicker" name="createtime" data-date-default-date="{$createtime}" placeholder="请选择要导出的月份" id="createtime" data-index="11" data-date-format="YYYY-MM" >
        </div>
    </div>

    <div class="form-group" style="margin-top: 50px;">
        <label for="createtime" class="control-label col-xs-12 col-xs-1"></label>
        <div class="col-xs-12 col-xs-7">
            <a  class="btn btn-success create-excel" data-type="1" href="javascript:;"><i class="fa fa-file-excel-o"></i> 线上文件</a>
            &nbsp;&nbsp;
            <a class="btn btn-warning create-excel" data-type="2" href="javascript:;"><i class="fa fa-file-excel-o"></i> 直接生成</a>
        </div>
    </div>
    <div class="hide layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
        </div>
    </div>
</form>
